import { post, get,del, getToken, postToken, delToken } from '@/utils/request'

// 登录
export function getGroundInfo() {
    return get('/ground/list');
}

export function deleteGround(data, token) {
    return delToken('/ground/del',data, token);
}

export function updateGround(data, token) {
    return postToken('/ground/update',data, token);
}

export function addGround(data, token){
    return postToken('/ground/insert',data,token);
}